|
|
|
|
|
|
|
Program HiRes is far from perfect, but it demonstrates many useful techniques for providing print previews and multiple scales and for producing high-resolution output. Using the HiResPrint subroutine, you can produce quality output with very little effort. |
|
|
|
|
|
|
|
|
Visual Basic's Printer object provides a rich assortment of graphic methods. These methods let a program send lines, curves, text and other graphical objects to the system's printer. |
|
|
|
|
|
|
|
|
The properties and methods provided by the Printer object are almost exactly the same as those supported by forms and picture boxes. The fact that these properties and methods are the same allows a program to display print previews with relative ease. The program can use a single routine to generate graphics on a form, picture box, or printer. With only a little extra work, you can even display print previews at multiple scales, and fit printed output to the printer. These are powerful features that give any program an appearance of professionalism. |
|
|
|
|
|